package com.ee.bruscar.generator;

public class SimpleSetter
{
	private String setterName;

	public SimpleSetter( String setterName )
	{
		this.setterName = setterName;
	}
	
	public String getSetterName()
	{
		
		return "set" + upperCaseFirstLetter( setterName );
	}
	
	public String getFieldName()
	{
		return setterName;
	}
	
	private String upperCaseFirstLetter( String value )
	{
		String firstLetter = value.substring(0,1);
		return firstLetter.toUpperCase() + value.substring(1, value.length());
	}

}
